package dgut.haitaobao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import dgut.haitaobao.entry.ProductComments;
import dgut.haitaobao.entry.ProductCommentsVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductCommentsMapper extends BaseMapper<ProductComments> {
    //根据商品id获得商品的相关评论
    public List<ProductCommentsVO> getProductCommentsByProductId(String productId);
}
